import {createStore} from 'vuex'
import count from './count'
import goods from './goods'
import cart from './cart'
import user from './user'
import address from './address'
const store = createStore({
  modules:{
    'count':count,  //前面的count是模块名称
    goods,
    cart,
    user,
    address
  }
})
export default store